package me.zhengjie.modules.quartz.task;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import me.zhengjie.modules.bailian.service.EosSystemFunctionDescriptionService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * Eos任务 2025/3/19 01:40
 *
 * @author Yaco
 * @version 1.0.0
 */
@Slf4j
@RequiredArgsConstructor
@Service
public class EosTask {

    private final EosSystemFunctionDescriptionService eosSystemFunctionDescriptionService;

    @Value("${app.config.data_structure_type}")
    private String structureType;

    public void execute() {
        eosSystemFunctionDescriptionService.task(structureType, null);
        log.info(" ### EosTask [execute] 触发成功.");
    }
}
